# -*- coding: utf-8 -*-

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html
from Spider80Text.items import *

class Spider80TextPipeline(object):
    def process_item(self, item, spider):
        if isinstance(item,Spider80TextItem):
            print('bookName:%s ; bookUrl:%s ; bookAuthor:%s ; ')
        return item
    
class Spider80TextbookItemPipeline(object):
    def process_item(self, item, spider):
        if isinstance(item,Spider80TextbookItem):
            print('Spider80TextbookItem')
        return item

class BookCatalogPipeline(object):
    def process_item(self, item, spider):
        if isinstance(item,BookCatalog):
            print('BookCatalog')
        return item


